package Z06XianCheng.XC01StartXianCheng;

public class battle implements Runnable{

    private Hero h1;
    private Hero h2;

    public battle(Hero h1 ,Hero h2){
        this.h1 = h1;
        this.h2 = h2;
    }

    @Override
    public void run() {
        while (!h2.isDead());
    }
}
